<?xml version="1.0" encoding="UTF-8"?><d:tdl xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://www.backbase.com/2006/btl" xmlns:d="http://www.backbase.com/2006/tdl"   xmlns:bf="http://www.backbase.com/2007/forms">

	<d:namespace name="http://www.backbase.com/2007/forms">
		<d:uses interface="iInputMultiple iInputRange" src="../www.backbase.com.2007.forms/forms/forms.xml"/>
		<d:uses element="inputBase inputListBase optionBase" src="../www.backbase.com.2007.forms/forms/formsBase.xml"/>
	</d:namespace>

	<d:namespace name="http://www.backbase.com/2006/btl">

		<d:uses element="formField" src="formField/formField.xml"/>
		<d:uses element="formList formListOption" src="formList/formList.xml"/>
		<d:uses element="rangeFormField" src="rangeFormField/rangeFormField.xml"/>
		<d:uses element="listBoxBase" src="listBox/listBoxBase.xml"/>
		<d:uses element="checkBoxGroup" src="checkBoxGroup/checkBoxGroup.xml"/>
		<d:uses element="comboBoxBase" src="comboBox/comboBoxBase.xml"/>
		<d:uses element="suggestBoxBase" src="suggestBox/suggestBoxBase.xml"/>

		<!-- Extend BTL elements with forms stuff -->
		<d:element name="formField" extends="b:formField bf:inputBase" abstract="true"/>
		<d:element name="formList" extends="b:formList bf:inputListBase" abstract="true"/>
		<d:element name="formListOption" extends="b:formListOption bf:optionBase" abstract="true"/>
		<d:element name="rangeFormField" extends="b:rangeFormField" implements="bf:iInputRange" abstract="true"/>
		<d:element name="listBoxBase" extends="b:listBoxBase" implements="bf:iInputMultiple" abstract="true"/>
		<d:element name="checkBoxGroup" extends="b:checkBoxGroup" implements="bf:iInputMultiple"/>
		<d:element name="comboBoxBase" extends="b:comboBoxBase" abstract="true">
			<d:property name="successful">
				<d:getter type="text/javascript"><![CDATA[
					var bOptionSelected = this.getProperty('selectedIndex') >= 0;
					return this.getProperty('name') != '' && (bOptionSelected || !this.getProperty('readOnly')) && !this.getProperty('disabled');
				]]></d:getter>
			</d:property>
		</d:element>
		<d:element name="suggestBoxBase" extends="b:suggestBoxBase" abstract="true">
			<d:property name="successful">
				<d:getter type="text/javascript"><![CDATA[
					return this.getProperty('name') != '' && !this.getProperty('disabled');
				]]></d:getter>
			</d:property>
		</d:element>

	</d:namespace>
</d:tdl>